Context-Bounded Analysis of Multithreaded Programs with Dynamic Linked Structures

نویسندگان

  • Ahmed Bouajjani
  • Séverine Fratani
  • Shaz Qadeer
چکیده

Bounded context switch reachability analysis is a useful and efficient approach for detecting bugs in multithreaded programs. In this paper, we address the application of this approach to the analysis of multithreaded programs with procedure calls and dynamic linked structures. We define a program semantics based on concurrent pushdown systems with visible heaps as stack symbols. A visible heap is the part of the heap reachable from global and local variables. We use pushdown analysis techniques to define an algorithm that explores the entire configuration space reachable under given bounds on the number of context switches and the size of visible heaps.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Delay-Bounded Scheduling A Canonical Characterization of Scheduler Nondeterminism

We provide a new characterization of scheduling nondeterminism by allowing deterministic schedulers to delay their next-scheduled task. By limiting the number of delays that an otherwise-deterministic scheduler is allowed, a bounded-exploration of a concurrent program can be done efficiently—by reduction to an equivalent exploration of a sequential program—and robustly—i.e., not dependent on bo...

متن کامل

Supporting a Dynamic SPMD Model in a Multi-Threaded Architecture

The SPMD (Single-Program Multiple-Data) model has gained acceptance as a programming model for scientiic array-intensive computations on distributed memory machines. Recently, researchers have been extending the SPMD model to handle programs which operate on recursively-deened dynamic data structures ; such models are commonly referred to as Dynamic SPMD (DSPMD) Models. In this paper, we examin...

متن کامل

Bounded Underapproximations

We show a new and constructive proof of the following language-theoretic result: for every context-free language L, there is a bounded context-free language L′ ⊆ L which has the same Parikh (commutative) image as L. Bounded languages, introduced by Ginsburg and Spanier, are subsets of regular languages of the form w∗ 1w ∗ 2 · · ·w∗ k for some w1, . . . , wk ∈ Σ∗. In particular bounded subsets o...

متن کامل

Synchronisation- and Reversal-Bounded Analysis of Multithreaded Programs with Counters

We study a class of concurrent pushdown automata communicating by both global synchronisations and reversal-bounded counters, providing a natural model for multithreaded programs with procedure calls and numeric data types. We show that the synchronisation-bounded reachability problem can be efficiently reduced to the satisfaction of an existential Presburger formula. Hence, the problem is NP-c...

متن کامل

Symbolic Context-Bounded Analysis of Multithreaded Java Programs

The reachability problem is undecidable for programs with both recursive procedures and multiple threads communicating through shared memory. Attempts to overcome this problem have been the focus of much recent research. One approach is to use context-bounded reachability, i.e. to consider only those runs in which the active thread changes at most k times, where k is fixed. However, to the best...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2007